dc086b2ab979c596634eb44f94b5f09e484fc6fe,allure-generator/src/main/java/io/qameta/allure/ProcessStage.java,ProcessStage,processData,#ReportWriter#Map#Path[]#,84
Before Change
statistic.update(result);
if (!testCases.containsKey(result.getId())) {
TestCase testCase = createTestCase(result);
testCases.put(result.getId(), testCase);
testCaseStage.process(testRun, testCase).accept(data);
}
TestCase testCase = testCases.get(result.getId());
After Change
LOGGER.debug("Found {} results for source {}", testCaseResults.size(), source.getFileName());
for (TestCaseResult result : testCaseResults) {
statistic.update(result);
String testCaseId = Objects.isNull(result.getId()) ? UUID.randomUUID().toString() : result.getId();
if (!testCases.containsKey(testCaseId)) {
TestCase testCase = createTestCase(result);
testCase.setId(testCaseId);